package com.mfhcd.facepay.model;

import androidx.databinding.BaseObservable;
import androidx.databinding.Bindable;

import java.util.List;

/**
 * @Author：张洪顺
 * @E-Mail: zhanghs@mfhcd.com
 * @Date：2019-09-17 15:02
 * @版权所有 © 现代金融控股（成都）有限公司
 * @描述：通用Item数据模型
 */
public class IndexPageModel extends BaseObservable {
    @Bindable
    private String code;
    @Bindable
    private String name;
    @Bindable
    private int icon;
    private List<IndexPageModel> subList;

    public IndexPageModel() {

    }

    public IndexPageModel(String code, String name, int icon) {
        this.code = code;
        this.name = name;
        this.icon = icon;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getIcon() {
        return icon;
    }

    public void setIcon(int icon) {
        this.icon = icon;
    }

    public List<IndexPageModel> getSubList() {
        return subList;
    }

    public void setSubList(List<IndexPageModel> subList) {
        this.subList = subList;
    }
}